package gov.pbc.gx.nn.pz.entity;

import javax.persistence.*;
import com.bstek.dorado.annotation.PropertyDef;

/**
 * hc_xjpz: 该类是转账凭证的实体类
 */
@Entity
@Table(name = "HC_ZZPZ")
public class HcZzpz extends VoucherBaseEntity {

	private static final long serialVersionUID = 1L;

	@PropertyDef(label = "开户银行", description = "开户银行:开户银行")
	@Column(name = "COMPANY_BANK_", length = 512)
	private String companyBank;

	@PropertyDef(label = "付款名称", description = "付款名称:付款名称")
	@Column(name = "PAY_NAME_", length = 512)
	private String payName;

	@PropertyDef(label = "付款账号", description = "付款账号:付款账号")
	@Column(name = "PAY_ACCOUNT_", length = 512)
	private String payAccount;

	@PropertyDef(label = "付款银行", description = "付款开户银行:付款开户银行")
	@Column(name = "PAY_BANK_", length = 512)
	private String payBank;

	/**
	 * 大写金额:大写金额
	 */
	@PropertyDef(label = "大写金额", description = "大写金额:大写金额")
	@Column(name = "AMOUNT_ZH_", length = 512)
	private String amountZh;

	/**
	 * 数字金额:数字金额
	 */
	@PropertyDef(label = "数字金额", description = "数字金额:数字金额")
	@Column(name = "AMOUNT_NUM_")
	private Double amountNum;

	/**
	 * ¥符号:¥符号
	 */
	@PropertyDef(label = "¥符号", description = "¥符号:¥符号")
	@Column(name = "IS_SIGN_")
	private int isSign;

	/**
	 * 备注:备注
	 */
	@PropertyDef(label = "备注", description = "备注:备注")
	@Lob
	@Basic(fetch = FetchType.EAGER)
	@Column(name = "BZ_")
	private String bz;

	/**
	 * 主管:主管
	 */
	@PropertyDef(label = "主管", description = "主管:主管")
	@Column(name = "DIRECTOR_", length = 64)
	private String director;

	/**
	 * 受理:受理
	 */
	@PropertyDef(label = "受理", description = "受理:受理")
	@Column(name = "ACCEPTANCE_", length = 64)
	private String acceptance;

	/**
	 * 制表:制表
	 */
	@PropertyDef(label = "制表", description = "制表:制表")
	@Column(name = "TOUCHING_", length = 64)
	private String touching;

	/**
	 * 监督:监督
	 */
	@PropertyDef(label = "监督", description = "监督:监督")
	@Column(name = "SUPERVISE_", length = 512)
	private String supervise;

	public HcZzpz() {
		super();
	}

	public String getCompanyBank() {
		return companyBank;
	}

	public void setCompanyBank(String companyBank) {
		this.companyBank = companyBank;
	}

	public String getPayName() {
		return payName;
	}

	public void setPayName(String payName) {
		this.payName = payName;
	}

	public String getPayAccount() {
		return payAccount;
	}

	public void setPayAccount(String payAccount) {
		this.payAccount = payAccount;
	}

	public String getPayBank() {
		return payBank;
	}

	public void setPayBank(String payBank) {
		this.payBank = payBank;
	}

	public String getAmountZh() {
		return amountZh;
	}

	public void setAmountZh(String amountZh) {
		this.amountZh = amountZh;
	}


	public Double getAmountNum() {
		return amountNum;
	}

	public void setAmountNum(Double amountNum) {
		this.amountNum = amountNum;
	}

	public int getIsSign() {
		return isSign;
	}

	public void setIsSign(int isSign) {
		this.isSign = isSign;
	}

	public String getBz() {
		return bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}

	public String getDirector() {
		return director;
	}

	public void setDirector(String director) {
		this.director = director;
	}

	public String getAcceptance() {
		return acceptance;
	}

	public void setAcceptance(String acceptance) {
		this.acceptance = acceptance;
	}

	public String getTouching() {
		return touching;
	}

	public void setTouching(String touching) {
		this.touching = touching;
	}

	public String getSupervise() {
		return supervise;
	}

	public void setSupervise(String supervise) {
		this.supervise = supervise;
	}

}
